package com.tao.china.biz.domain;

import com.tao.china.common.http.porxy.PorxyEntry;

/**
 * @author liuchao
 */
public class Porxy {
    
    String ip;
    int port;
    String createTime;
    int status;
    public String getIp() {
        return this.ip;
    }
    public void setIp(String ip) {
        this.ip = ip;
    }
    public int getPort() {
        return this.port;
    }
    public void setPort(int port) {
        this.port = port;
    }
    public String getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public int getStatus() {
        return this.status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public PorxyEntry toPorxyEntry(){
        PorxyEntry porxyEntry = new PorxyEntry();
        porxyEntry.setPort(this.port);
        porxyEntry.setIp(this.ip);
        return porxyEntry;
    }
    
}
